package com.prodog.gamemodule.fight.effect.handler.impl;

import com.prodog.gamemodule.fight.effect.entity.FightEffect;
import com.prodog.gamemodule.fight.effect.handler.AbstractEffectHandler;
import com.prodog.gamemodule.fight.fightobj.entity.FightObj;
import com.prodog.gamemodule.fight.session.FightSession;

/***
 * 雷神之息被动效果
 */
public class ParalysisEffectHandler extends AbstractEffectHandler {
    public ParalysisEffectHandler(FightSession session, FightEffect effect) {
        super(session, effect);
    }

    @Override
    public void onFightStart(FightObj obj) {
    }

    @Override
    public void beforeAction(FightObj obj) {
        obj.getAction().setType(4);
        obj.setOver(true);
        getSession().getObjInfo().setActContent(obj.getUuid(), obj.gName() + "因麻痹状态无法行动");
    }

    @Override
    public void afterExecuteDamage(FightObj obj, FightObj beActedObj) {
    }

    @Override
    public void afterBeExecutedDamage(FightObj actObj, FightObj beActedObj) {

    }
}
